package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallBrandGoodsDao;
import com.appkubes.mall.core.entity.MallBrandGoods;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BaseMallBrandGoodsService extends AbstractBaseService<BaseMallBrandGoodsDao, MallBrandGoods> {

    MallBrandGoods getOneByEntity(MallBrandGoods entity);

    List<MallBrandGoods> selectListByEntity(MallBrandGoods entity);

    IPage<MallBrandGoods> selectPageByEntity(IPage<MallBrandGoods> page);
    IPage<MallBrandGoods> selectPageByEntity(PageVO pageVO);

    IPage<MallBrandGoods> selectPageByEntity(MallBrandGoods entity, IPage<MallBrandGoods> page);
    IPage<MallBrandGoods> selectPageByEntity(MallBrandGoods entity, PageVO pageVO);

    IPage<MallBrandGoods> selectPageByEntity(MallBrandGoods entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallBrandGoods entity);
}
